home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
wildcat
/
aputdesc.zip
/
APUTDESC.DOC
next >
Wrap
Text File
|
1992-05-30
|
4KB
|
91 lines
APUTDESC (c) 1992 Karl Schneider
8505 Woodwick Ct.
For Wildcat! 3.0x+ ONLY! Tampa, FL 33615
813-884-9661 voice day/eve
" " " bbs midnite-0700 EST
14400 HST
---------------------------------------------------------------------------
Introduction
APUTDESC is a 'companion' program to my AUTODESC program. AUTODESC
tests archives (ZIP, ARJ or LZH) at the time of UPLOAD to a WC 3+
system, for the existence of a file inside the archive called DESC.SDI
which simply contains a 60 character or less DESCRIPTION of the
uploaded ZIP etc. file. If DESC.SDI is found, AUTODESC will auto-
matically insert its contents into the WILDCAT! Database record's
description field for that file, and the person doing the upload
can skip typing in descriptions.
If you're familiar with AUTODESC, you probably also know about PUTDESC
which is used to manually add the DESC.SDI file to a particular ZIP,
ARJ or LZH archive, and possibly ALLSDI, which will create DESC.SDI
files in ALL archives indexed in a WC database.
APUTDESC can be used in your SCANFILE.BAT (.RUN) in conjunction with
AUTODESC. It's purpose is to ADD a DESC.SDI file to an uploaded ZIP,
ARJ or LZH file AT THE TIME IT'S UPLOADED...if it does not already
contain one. The DESC.SDI file will contain whatever text is entered
by the uploader. If the person doing the upload does NOT enter a
description, the file will not be created or added to the archive.
------------------------------------------------------------------------
Installation
You must have the following programs available to DOS, when using
SCANFILE, either in your WC Home Directory, or someplace in your
PATH:
APUTDESC.EXE
PKUNZIP.EXE
PKZIP.EXE
ARJ.EXE
LHARC.EXE
If you want to support .LZH files, you must have LHARC.EXE. If you
have a different version named LHA.EXE, you may either re-name it
or COPY it to LHARC.EXE.
In your SCANFILE.BAT (.RUN) file, add the following command:
aputdesc %1
This should immediately FOLLOW 'autodesc %1' if you're using it!
-----------------------------------------------------------------------
Notes & caveats
APUTDESC, like AUTODESC, attempts to minimize run-time by reading the
Wildcat ALLFILES.DAT file from the END, rather than from the BEGINNING.
This normally provides the fastest access, since usually new uploads
are added to the END of the Database. Note, however, if you DELETE
FILES (from within Wildcat or with WCPRO), the record for the deleted
file does not 'disappear', it is simply flagged as 'deleted'...and
a subsequent upload will be placed into it's location.
For this reason, if you DELETE SEVERAL FILES from the WC Database,
it's helpful to run WCREPAIR on the Files database after doing so.
This is not so much a 'repair', as a 're-packing', and, even though
MSI doesn't recommend it unless needed, there is no reason NOT to
do it any time you want! (I even do it every night in an event).
And, please understand that, as with any software, wide
variations in system configurations can sometimes cause unexpected or
unforseeable results. For this reason, I make no warranties with
respect to this program as to its usability, safety to data, or any
results deriving from its use, and accept no responsibility for any
loss or damages directly or indirectly caused by using it.
I've tested APUTDESC as thoroughly as possible, and have found no
problems with it. It supports file sharing and should run fine on
a network, as my other utilities are reported to do.
If this program is useful to you, a modest registration is in order. If
you contribute $35 or more, you will be entitled to support on ALL
my WC3 utilities. That's under $1 apiece!.
Any bug reports, comments or suggestion are solicited and welcome! Thanks.
See also: AUTODESC.ZIP, PUTDESC.ZIP, WCPUTGIF.ZIP, ALLSDI2.ZIP
-eof-